package com.yougong.api.modules.customer.model.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName cus_role_user
 */
@TableName(value ="cus_role_user")
@Data
public class CusRoleUser implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 角色id
     */
    @TableField(value = "role_id")
    private String roleId;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private String userId;

    /**
     * 创建人
     */
    @TableField(value = "created_by")
    private String createdBy;


    /**
     * 创建时间
     */
    @TableField(value = "created_time")
    private LocalDateTime createdTime;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}